//
var TN_Widget = function()
{
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
CreateCustomUrl : function(row)
{
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt)
{
return "
| " +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl)
{
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData)
{
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr=0; cntr';
else
document.write('' + newTable.join('') + '
');
}
};
}();
//METRO-WEB-10
TN_Widget.AddCss('http://site_01504_011.ticketsoftware.net/widget2Css/WidgetStyle1.css');
TN_Widget.CreateTable([['Brad Paisley','Spokane Arena','Spokane, WA','Thursday','9/9/2010','7:30 PM','1340775','Brad-Paisley-9-9-2010'], ['Brad Paisley','Sleep Country Amphitheater (Formerly Clark County Amphitheater)','Ridgefield, WA','Friday','9/10/2010','4:00 PM','1340776','Brad-Paisley-9-10-2010'], ['Brad Paisley','Gorge Amphitheatre','Quincy, WA','Saturday','9/11/2010','4:00 PM','1340777','Brad-Paisley-9-11-2010'], ['Brad Paisley','Shoreline Amphitheatre - CA','Mountain View, CA','Wednesday','9/15/2010','4:00 PM','1304247','Brad-Paisley-9-15-2010'], ['Brad Paisley','Cricket Wireless Amphitheatre (formerly Coors Amphitheatre)','Chula Vista, CA','Friday','9/17/2010','7:30 PM','1340778','Brad-Paisley-9-17-2010'], ['Brad Paisley','Cricket Wireless Pavilion','Phoenix, AZ','Saturday','9/18/2010','4:00 PM','1308853','Brad-Paisley-9-18-2010'], ['Brad Paisley','Hard Rock Pavilion - NM (formerly known as Journal Pavilion)','Albuquerque, NM','Sunday','9/19/2010','4:00 PM','1311275','Brad-Paisley-9-19-2010'], ['Brad Paisley','Taco Bell Arena','Boise, ID','Thursday','9/23/2010','7:30 PM','1340779','Brad-Paisley-9-23-2010'], ['Brad Paisley','Usana Amphitheater','Salt Lake City, UT','Friday','9/24/2010','4:00 PM','1309713','Brad-Paisley-9-24-2010'], ['Brad Paisley','Comfort Dental Amphitheatre (formerly Fiddlers Green Amphitheatre)','Englewood, CO','Saturday','9/25/2010','7:30 PM','1309714','Brad-Paisley-9-25-2010'], ['Country Comes Home: Brad Paisley & Jason Aldean','Grand Ole Opry House','Nashville, TN','Tuesday','9/28/2010','7:00 PM','1456297','Country-Comes-Home--Brad-Paisley---Jason-Aldean-9-28-2010'], ['Brad Paisley','Brick Breeden Fieldhouse','Bozeman, MT','Thursday','9/30/2010','7:30 PM','1393045','Brad-Paisley-9-30-2010'], ['Brad Paisley','Rogers Arena (formerly General Motors Place)','Vancouver, Canada','Saturday','10/2/2010','7:30 PM','1453985','Brad-Paisley-10-2-2010'], ['Brad Paisley','Rexall Place','Edmonton, Canada','Monday','10/4/2010','7:30 PM','1453986','Brad-Paisley-10-4-2010'], ['Brad Paisley','Pengrowth Saddledome','Calgary, Canada','Tuesday','10/5/2010','7:30 PM','1376813','Brad-Paisley-10-5-2010'], ['Brad Paisley','MTS Centre','Winnipeg, Canada','Thursday','10/7/2010','7:30 PM','1376841','Brad-Paisley-10-7-2010'], ['Brad Paisley','Ralph Engelstad Arena','Grand Forks, ND','Saturday','10/9/2010','7:30 PM','1418728','Brad-Paisley-10-9-2010'], ['Brad Paisley','Mohegan Sun Arena - CT','Uncasville, CT','Friday','11/12/2010','TBD','1376817','Brad-Paisley-11-12-2010'], ['Brad Paisley','Bank Of Oklahoma Center','Tulsa, OK','Saturday','11/20/2010','7:30 PM','1376798','Brad-Paisley-11-20-2010']]);